Techniques for Deploying Virtual Software Applications on Computers

ABSTRACT

A method for bridging between virtual applications and an operating system of a host computer. The method comprises retrieving virtual applications and settings of the virtual applications assigned to a user logged onto the host computer, wherein each of the virtual applications includes the following files: a virtual engine, a user data file, and an application-on-demand (AOD) file; downloading shadow files of the virtual applications assigned to the user; integrating each of the virtual applications with an operating system shell of the host computer; and causing a virtual application to be executed over the host computer when the virtual application is launched by the user.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No. 12/419,165 filed Apr. 6, 2009 (to be issued as U.S. Pat. No. 9,141,934 on Sep. 22, 2015), which claims the benefit of U.S. Provisional Application No. 61/123,370 filed on Apr. 7, 2008, the entire contents of both of which are herein incorporated by reference.

TECHNICAL FIELD

The present invention relates generally to the execution of software applications, and more particularly to a method for deploying and executing virtual applications on desktop computers.

BACKGROUND

Personal computers (PCs) serve a multitude of software applications, features and functions. The applications provide the user with tools to accomplish tasks, such as, but not limited to, document processing, spreadsheet management, email exchanges and Internet browsing. The features and functions are commonly referred to as “personalized information” and may comprise favorite Internet websites, contacts, Internet cookies, digital signatures, background images, desktop icons, application control bars, choice of default values and other configurable settings. In general, the personalized information differs from one user to another.

Typically, software applications are installed and setup using an automated installation process. The installation process is designed to enable the integration of the new functionality into the overall organization of the operating system, as well as ensuring that the application can be safely removed. Still, as an installation process is mostly carried-out by automatic installation programs, installation and setup of software applications remain a tedious task requiring as much as hours of work.

Generally, an automatic installation program performs the following activities: a) copying application software files from a removable storage (e.g., a compact disk) to the destination computer; b) configuring the operating system's parameters by, for example, the configuration of the system registry files; c) creating the application icons; and d) deleting temporary installation files.

Typically modern operating systems, such as Microsoft® XP® or Microsoft Vista® includes a registry file for storing operating system user and application settings and options, dynamic link libraries (DLLs) which contains shared code, and named objects for naming functions shared by different processes. This structure of an operating system causes most of the challenges associated with application installation, most notable of which are:

1. Operating system Stability and Performance: Installations permanently modify the operating system (even after uninstalling) resulting in an incremental decline in operating system performance due to uninstalled leftovers (orphan files), inflated registry files, and so on.

2. Conflicts: Installations cause application conflicts due to various incompatibilities and resource sharing issues.

3. Rigidness: Applications are installed into the operating system in a way that prevents the applications from being “detached” and migrated between different computers; applications are executed exclusively within the environment in which they were initially installed.

4. Security: When applications and the operating system are fused together, internal cross contamination is almost inevitable.

These problems have resulted in information technology (IT) departments expending substantial wasted time, money and manpower on application lifecycle tasks, regression/compatibility tests, deployment and management, help desk and support issues, and more. Moreover, users cannot switch between computers and work with common applications without installing and registering those applications on each computer. Thus, the user has to configure the personalized information when switching between computers.

It would be therefore desirable to provide a solution for deploying applications to any computer from a central server without incorporating the application directly into the host computer's operating system. It would be further desirable to provide a solution for bridging between virtual applications and an operating system of a host computer.

BRIEF DESCRIPTION OF THE DRAWINGS

The subject matter that is regarded as the invention is particularly pointed out and distinctly claimed in the claims at the conclusion of the specification. The foregoing and other objects, features and advantages of the invention will be apparent from the following detailed description taken in conjunction with the accompanying drawings.

FIG. 1 is a diagram illustrating a computer network system useful in describing the principles of the invention.

FIG. 2 is a flowchart describing the process for bridging between virtual applications and the host operating system implemented in accordance with an embodiment of the invention.

DETAILED DESCRIPTION OF THE INVENTION

The embodiments disclosed by the invention are only examples of the many possible advantageous uses and implementations of the innovative teachings presented herein. In general, statements made in the specification of the present application do not necessarily limit any of the various claimed inventions. Moreover, some statements may apply to some inventive features but not to others. In general, unless otherwise indicated, singular elements may be in plural and vice versa with no loss of generality. In the drawings, like numerals refer to like parts through several views.

Certain embodiments of the invention provide techniques for deploying software applications in a virtual environment to a local desktop computer without being installed in the local computer or employing the use of a local client and a remove server. The virtual applications are integrated into the local operating system seamlessly and transparently to the user.

FIG. 1 shows a diagram illustrating a computer network system 100 useful in describing the principles of the invention. Without limiting the scope of the invention the system 100 is a simplified structure of a computer system deployed in an organization where only a single file server 120 connected through a network 110 to a single personal computer (PC) 130. It is appreciated that such systems typically include one or more file servers and a plurality of PCs of uses in the organization. The network 120 may be, but is not limited to, a local area network (LAN), a wide area network (WAN), the Internet, or any combination thereof.

The PC 130 may be any computing device running an operating system and include, for example, a laptop computer, a smart phone, a personal digital assistance (PDA), and the like. The operating system maybe, but is not limited to, a Windows® XP®, Windows Vista®, Linux®, and the like. In accordance with an embodiment of the invention the PC 130 runs a bridge agent 135 which is a virtual service that enables central deployment of virtual software applications on the PC 130 without altering or making changes to the PC 130. Specifically, the bridge agent 130 retrieves, from the file server 120, files of virtual applications assigned to a user of the PC 130 and cause the execution of these applications over the PC 130. In addition, the bridge agent 135 performs shell integration by binding the virtual applications to the operating system shell. An operating system shell which provides access to the kernel services of the operating system. The PC 130 may be a locked-down computer which is a computer being operated by a user account or process that does not have full administrator permissions.

The virtual applications function as if they were installed on the PC 130 and are available online and/or offline. In accordance with an embodiment of the invention, a virtual application consists of the following files: a virtual engine, a user data file, and an application on demand (AOD) file. The virtual engine is an executable computing environment with its own read/write file system and registry, dynamic link library (DLL) repositories, and named objects. An AOD file includes all of the resources an application needs to run, such as an internal virtual services manager, a digital rights management layer, a connectivity layer, and a protection layer. The protection layer seals the virtual applications from the environment of the host operating system of the PC 130 and provides the virtual applications with the required function calls and returned data and further preventing any data from being written to the host operating system. The connectivity layer enables the virtual application to communicate with other virtual applications and define the integration with the operating system shell. For example, the connectivity layer includes registry keys and files that contain shell components, such as file extensions, programs files links, system tray, quick launch, and so on.

The virtual applications executed over the PC 130 do not write data, files, registry keys, and so on to the host operating system, but instead to the user data file that contains all the data written during the time the virtual application was active. The user data file may also include modified preferences, temporary files, registry changes, user files (e.g., documents, music, video, etc.), and so on. User data files may be encrypted. A detailed discussion on the structure of the virtual applications utilized by the invention and their execution can be found in U.S. patent application Ser. No. 11/697,700 filed Apr. 6, 2007 and U.S. application Ser. No. 11/697,702 filed Apr. 6, 2007, the contents of which are incorporated by reference herein in their entirety.

The virtual engines are stored, per virtual application, in a storage unit 122, the user data files are saved, per user and per application, in a storage unit 123, and the AOD files are maintained in a storage unit 124. In other implementations user data files, AOD files, and virtual engine files may be stored locally on the user PC. All storage units 122, 123 and 124 are part of the file server 120 which includes a management console 125 and a storage unit 126 for maintaining different versions of the bridge agents 135, each version may be per user or group of users. The management console 125 enables, together with the bridge agent 135, centrally deploying virtual applications and complete desktop configurations to end users over the network 110. Once the AOD files are uploaded to the file server 120, the management console 125 extracts the connectivity layer of each file and saves it in a different file (hereinafter the “shadow file”).

In addition, the management console 125 accesses a database 140 for the purpose of obtaining virtual applications and settings assigned to a directory service entity. A directory service entity may be defined as a combination of any of a computer, a user, security groups, a group of users, and so on. The settings are used for local processing and integration into the host operating system and may include, but are not limited to, security permissions and the mode of each virtual application assigned to the user of PC 130. A virtual application's mode may be either online and offline. When the user logs onto the server, the virtual application's file can be either downloaded completely from the file server 120, after which the user can work offline without being connected to the server 120. Alternatively, the virtual application's file can be downloaded by streaming as needed when the user stays connected to the server 120 in an online mode. In one embodiment of the invention the database 140 may be any lightweight directory access protocol (LDAP) based directory service (such as an Active Directory provided by Microsoft). The process of deploying virtual applications to the PC 130 begins when a user logs into the database 140 and based upon login credentials a version of a bridge agent 135 that should be assigned to the PC 130 is determined. Thereafter, the designated version of the bridge agent 135 is downloaded from the storage unit 126 to the PC 130. It should be noted that the bridge agent 135 is not installed in the PC 130.

Rather, the agent 135 is an executable file that once downloaded can execute the process of bridging between virtual applications and the host operating system of the PC 130. This process will be described in greater detail below. It should be further noted that the pre-installed applications can co-exist with virtual applications (which are not installed) in the PC 130. The co-existence is enabled by the agent 135. Furthermore, in order to deploy new applications to the PC 130 or change the applications assigned to a user of PC 130, a system administrator needs to assign or de-assign applications to directory service entities and does not need to uninstall and/or install new applications. The new bridge agent will be downloaded to the PC 130 when the user logs on. It should be appreciated that this approach allows lowering the total cost of ownership (TCO) of information technology deployment.

FIG. 2 shows an exemplary and non-limiting flowchart 200 describing the process for bridging between virtual applications and the host operating system of the PC 130 implemented in accordance with an embodiment of the invention. The execution begins when the bridge agent 135 is fully downloaded to the PC 130. As mentioned above the bridge agent 135 is an executable file, therefore no installation is required. At S210, the bridge agent 135 enquires back to the management console 125 as to which virtual applications and applications' settings are assigned to a user of the PC 130. Specifically, for each virtual application the management console 125 replies with names of the AOD file, virtual engine version, and user data file that should be downloaded. That is, contents of these files are not yet downloaded to the agent 135.

At S220, the shadow files including the connectivity layers of all virtual applications are downloaded to the bridge agent 135. The connectivity layer defines the integration functions with the operating system shell and enabling graphically displaying interface elements of each virtual application.

At S230, each virtual application is integrated into the operating system shell of the PC 130 according to its connectivity layer. The shell integration includes binding an application's interface elements with the operating system shell, i.e., integration with non-virtual environment. These interface elements include start menu items, desktop items, file type associations, right click menu options, integration with native folders (e.g., My Document), and so on. In addition, the shell integration creates uninstall information (e.g., “Add Remove Program” entry) and intercommunication information with non-virtual services and applications. The uninstall information is created merely to allow current licensing tools to keep track of deployed virtual applications. The integration with the operating system shell is completely transparent, i.e., it does not add or change any registry keys and or any of the operating system files. In one embodiment of the invention the shell integration may be achieved by injecting, using a DLL process within the bridge agent 135, the connectivity layer to a host explorer process of the shell, and then refreshing the host explorer to present the integrated interface elements. Once the shell integration process is completed, the virtual applications are displayed and can be launched as they were actually installed in the PC 130, thus ensuring the same user experience and behavior as normally installed applications. For example, if a virtual application is a WinZip the shell integration process will cause the WinZip's icon to be display on the user's desktop, an entry to be added to the “Start” menu, and all “zip” type files to be displayed with the WinZip icon. In addition, any right-click on a WinZip's icon opens menu having entries typically associated with this application.

At S240, optionally, files (i.e., user data, AOD, and virtual engine) of virtual applications set as “offline applications” are downloaded. The bridge agent 135 downloads the files all at once or streams them at block level to be locally processed on the PC 130. At S250, when an application either a virtual or non-virtual application is launched through, for example, a desktop icon, a start menu shortcut or a right click option, the bridge agent 135 captures the call to execute the launched application. At S260, a check is made to determine if the launched application is a virtual application, and if so execution continues with S270; otherwise, at S280 the captured call is transferred to the operating system. This sub-process enables the co-existence of virtual and non-virtual (installed) applications and further the interconnection between virtual and non-virtual applications. This allows, for example, executing a non-virtual application from a virtual environment. At S270, it is checked if the virtual application is defined as an offline application, and if so execution proceeds to S290; otherwise, at S280 the virtual application's files (e.g., the user data, AOD, and virtual engine) are loaded to a memory of the PC 130 using the bridge agent 135. The bridge agent 135 retrieves the files from the file server all at once or streams them at block level to be locally processed on the PC 130. At S290 the bridge agent 135 calls the virtual engine of the virtual application which executes the virtual application over the PC 130.

It should be noted that during execution of the virtual application changes to user data are streamed to the file server 120 to be saved in the storage unit 123. Therefore, the bride agent 135 is capable of performing a bi-directional streaming. Specifically, user data files can be synchronized between a client PC 130 and file server 120 to provide a complete roaming profile of virtual applications. The roaming profile allows the association of applications and setting with a user and not with the PC 130 from which the user logs on. Therefore, applications are downloaded to the PC 130 based on logged username. In addition, user data files are synchronized with the file server 120.

The principles of the invention may be implemented as hardware, firmware, software or any combination thereof. Moreover, the software is preferably implemented as an application program tangibly embodied on a program storage unit or computer readable medium. The application program may be uploaded to, and executed by, a machine comprising any suitable architecture. Preferably, the machine is implemented on a computer platform having hardware such as one or more central processing units (“CPUs”), a memory, and input/output interfaces. The computer platform may also include an operating system and microinstruction code. The various processes and functions described herein may be either part of the microinstruction code or part of the application program, or any combination thereof, which may be executed by a CPU, whether or not such computer or processor is explicitly shown. In addition, various other peripheral units may be connected to the computer platform such as an additional data storage unit and a printing unit.

All examples and conditional language recited herein are intended for pedagogical purposes to aid the reader in understanding the principles of the invention and the concepts contributed by the inventor to furthering the art, and are to be construed as being without limitation to such specifically recited examples and conditions. Moreover, all statements herein reciting principles, aspects, and embodiments of the invention, as well as specific examples thereof, are intended to encompass both structural and functional equivalents thereof. Additionally, it is intended that such equivalents include both currently known equivalents as well as equivalents developed in the future, i.e., any elements developed that perform the same function, regardless of structure. 

What is claimed is:
 1. A method for bridging between virtual applications and an operating system of a host computer, comprising: retrieving virtual applications and settings of the virtual applications assigned to a user logged onto the host computer, wherein each of the virtual applications includes the following files: a virtual engine, a user data file, and an application-on-demand (AOD) file; downloading shadow files of the virtual applications assigned to the user; integrating each of the virtual applications with an operating system shell of the host computer; and causing a virtual application to be executed over the host computer when the virtual application is launched by the user.
 2. The method of claim 1, wherein retrieving the virtual applications and the settings of the virtual applications comprises: enquiring a file server as to virtual applications assigned to the user; retrieving file names of files of each of the virtual applications assigned to the user; and retrieving settings of each of the virtual applications assigned to the user.
 3. The method of claim 1, wherein the settings of a virtual application include at least a virtual application mode and security permissions.
 4. The method of claim 3, wherein the virtual application mode is an online mode wherein files of the virtual application are loaded into a memory of the host computer post launch of the virtual application.
 5. The method of claim 3, wherein the virtual application mode is an offline mode wherein files of the virtual application are downloaded to host computer prior to the launch of the virtual application.
 6. The method of claim 1, wherein the shadow files comprise connectivity layers of virtual applications assigned to the user, wherein a connectivity layer defines integration functions with the operating system shell enabling to display interface elements of a respective virtual application.
 7. The method of claim 6, wherein the interface elements include at least one of: start menu items, desktop items, file type associations, right-click menu options, and integration with native folders of the operating system.
 8. The method of claim 6, wherein integrating each of the virtual applications with the operating system shell of the host computer further comprises binding interface elements of virtual applications with a non-virtual environment of the operating system shell.
 9. The method of claim 1, wherein causing the virtual application to be executed over the host computer when the virtual application is launched by the user comprises and the settings of the virtual applications comprises: capturing a system call to execute a launched application; checking if the launched application is a virtual application; when the launched application is not a virtual application, transferring the system call to the operating system; and when the launched application is a virtual application, executing the virtual engine of the launched application if the virtual application is set to an offline mode.
 10. The method of claim 9, further comprising: when the launched application is a virtual application, downloading files of the launched application if the virtual application is set to an online mode and executing the virtual engine of the launched application.
 11. The method of claim 9, wherein the files of virtual applications set to an offline mode are loaded to a memory of the host computer when the operating system shell integration is completed.
 12. The method of claim 11, wherein downloaded files of virtual applications are not installed in the host computer.
 13. The method of claim 11, wherein retrieving application files further comprises streaming application files from a file server to the host computer.
 14. The method of claim 13, further comprising streaming user data from the host computer to the file server.
 15. The method of claim 1, wherein the virtual applications and the settings of the virtual applications are assigned to the user by a system administrator.
 16. A non-transitory computer readable medium having stored thereon computer executable code which, when executed, causes a processor of a host computer to perform a process for bridging between virtual applications and an operating system of the host computer, the process comprising: retrieving virtual applications and settings of the virtual applications assigned to a user logged onto the host computer, wherein each of the virtual applications includes the following files: a virtual engine, a user data file, and an application-on-demand (AOD) file; downloading shadow files of the virtual applications assigned to the user; integrating each of the virtual applications with an operating system shell of the host computer; and causing a virtual application to be executed over the host computer when the virtual application is launched by the user.
 17. The non-transitory computer readable medium of claim 16, wherein retrieving the virtual applications and the settings of the virtual applications comprises: enquiring a file server as to virtual applications assigned to the user; retrieving file names of files of each of the virtual applications assigned to the user; and retrieving settings of each of the virtual applications assigned to the user.
 18. The non-transitory computer readable medium of claim 16, wherein integrating each of the virtual applications with the operating system shell of the host computer further comprises binding interface elements of virtual applications with a non-virtual environment of the operating system shell.
 19. The non-transitory computer readable medium of claim 16, wherein causing the virtual application to be executed over the host computer when the virtual application is launched by the user comprises and the settings of the virtual applications comprises: capturing a system call to execute a launched application; checking if the launched application is a virtual application; when the launched application is not a virtual application, transferring the system call to the operating system; when the launched application is a virtual application, executing the virtual engine of the launched application if the virtual application is set to an offline mode; and when the launched application is a virtual application, downloading files of the launched application if the virtual application is set to an online mode and executing the virtual engine of the launched application.
 20. The non-transitory computer readable medium of claim 19, wherein downloaded files of virtual applications are not installed in the host computer.
 21. A host computer for bridging between virtual applications and an operating system, the host computer comprising: a memory configured to store a program including instructions; and a processor configured to execute the program to cause the host computer to: retrieve virtual applications and settings of the virtual applications assigned to a user logged onto the host computer, wherein each of the virtual applications includes the following files: a virtual engine, a user data file, and an application-on-demand (AOD) file; download shadow files of the virtual applications assigned to the user; integrate each of the virtual applications with an operating system shell of the host computer; and cause a virtual application to be executed over the host computer when the virtual application is launched by the user. 